package com.vma.jifu.others.impl;

import com.vma.jifu.bizModel.model.CustPhone;
import com.vma.jifu.bizModel.model.CustQq;
import com.vma.jifu.others.CustLinkService;

import java.util.List;

/**
 * Created by chenzui on 2017/6/15.
 */
public class CustLinkServiceImpl implements CustLinkService {

    public List<CustQq> qryQQList() {
        return CustQq.dao.find("SELECT * FROM cust_qq ORDER BY create_time DESC LIMIT 3");
    }

    public CustPhone getPhone() {
        return CustPhone.dao.findFirst("SELECT * FROM cust_phone ORDER BY create_time DESC ");
    }
}
